home *** CD-ROM | disk | FTP | other *** search
- ; Deliver all messages from a queue directory.
- ; Use "Copy %s to $SMTPSPOOLDIR >NIL:" as the Mailer in Voodoo
- ; Run this script when you want to have messages delivered
- ; Script by Domenig Weyerman
-
- List to t:SMTPPostBatTempFile $SMTPSPOOLDIR/#? LFormat="SMTPPost $SMTPSPOOLDIR/%N >NIL:"
-
- Resident AMITCP:bin/SMTPPost PURE
-
- Echo "*N Start mailing..."
-
- Execute t:SMTPPostBatTempFile
-
- Echo "*N End of mailing..."
-
- Delete t:SMTPPostBatTempFile QUIET
-
- Resident SMTPPost REMOVE
-
- RequestChoice >ENV:RCNum " Please advise me" " Hey $USER, *N Shall I delete all Files in SMTPSpoolDir ?" "Yes" "No"
- If Val $RCNum EQ 0
- Echo "*N*N Well, in this case keep ehm...*N"
- quit
- Endif
-
- Delete $SMTPSPOOLDIR/#?
-
- ;EOF
-